import baseRequest from '../utils/requset'

// 赚积分页面 /api/taskCompletion/earnPoints get
export function getEarnPointsApi (data) {
    return baseRequest.baseRequest(
        'api/taskCompletion/earnPoints',
        'get',
        data
    )
}


//个人中心 我的积分详情页面 /api/miniProgram/myPoints get
export function getMyPointsApi (data) {
    return baseRequest.baseRequest(
        'api/miniProgram/myPoints',
        'get',
        data
    )
}
